package com.example.demo.service;

import com.example.demo.pojo.entity.AddressBook;

import java.util.List;

public interface AddressBookService {
    List<AddressBook> getAll();

    void add(AddressBook addressBook);

    AddressBook getDefault();

    AddressBook getById(Long id);

    void update(AddressBook addressBook);

    void deleteById(Long id);

    void setDefault(AddressBook addressBook);
}
